/**
 * 
 */
package org.softTank.BcpModel;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Yuzone( smartzxy@gmail.com)
 * 
 */
public class BcpProcess extends BcpBaseElement {

	private String targetNamespace;
	private List<BcpPartnerLink> partnerLinks;
	private List<BcpVariable> variables;
	private BcpReceive receive;

	public String getTargetNamespace() {
		return targetNamespace;
	}

	public void setTargetNamespace(String targetNamespace) {
		this.targetNamespace = targetNamespace;
	}

	public List<BcpPartnerLink> getPartnerLinks() {
		if (partnerLinks == null) {
			partnerLinks = new ArrayList<BcpPartnerLink>();
		}
		return partnerLinks;
	}

	public List<BcpVariable> getVariables() {
		if (variables == null) {
			variables = new ArrayList<BcpVariable>();
		}
		return variables;
	}

	public void setPartnerLinks(List<BcpPartnerLink> partnerLinks) {
		this.partnerLinks = partnerLinks;
	}

	public void setVariables(List<BcpVariable> variables) {
		this.variables = variables;
	}

	public BcpReceive getReceive() {
		return receive;
	}

	public void setReceive(BcpReceive receive) {
		this.receive = receive;
	}

}
